//
//  Bundle.swift
//  CMKit
//
//  Created by travel on 2016/12/15.
//  Copyright © 2016年 covermedia. All rights reserved.
//

import Foundation


public extension Bundle {
    /// app 版本号
    public var appVersion: String {
        return self.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String
    }
    
    /// app build 号
    public var appBuildVersion: String {
        return self.object(forInfoDictionaryKey: "CFBundleVersion") as! String
    }
}
